#
# Source files
#
# Here is where you can add the name of your local imaging classes.
#

SET (VolumeRendering_SRCS
   vtkLTFVolumeRayCastMapper
   vtkLTFVolumeRayCastCompositeFunction
)

# --------------------------------------------------------------------------
# You probably do not need to modify anything below this line

# Create the vtk4307VolumeRendering C++ library
ADD_LIBRARY (vtk4307VolumeRendering ${VolumeRendering_SRCS})
TARGET_LINK_LIBRARIES(vtk4307VolumeRendering vtkVolumeRendering vtkRendering vtkGraphics vtkCommon)

# Create the vtk4307VolumeRendering Tcl library
IF (VTK_WRAP_TCL AND VTK4307_WRAP_TCL)
  VTK_WRAP_TCL3 (vtk4307VolumeRenderingTCL VolumeRenderingTCL_SRCS
  "${VolumeRendering_SRCS}" "")
  ADD_LIBRARY (vtk4307VolumeRenderingTCL ${VolumeRenderingTCL_SRCS})
  TARGET_LINK_LIBRARIES (vtk4307VolumeRenderingTCL vtkFilteringTCL vtkVolumeRenderingTCL vtk4307VolumeRendering)
ENDIF (VTK_WRAP_TCL AND VTK4307_WRAP_TCL)

# Create the vtk4307VolumeRendering Python library.
IF (VTK_WRAP_PYTHON AND VTK4307_WRAP_PYTHON)
  INCLUDE_DIRECTORIES("${VTK_PYTHON_INCLUDE_DIR}")
  VTK_WRAP_PYTHON3 (vtk4307VolumeRenderingPython VolumeRenderingPython_SRCS "${VolumeRendering_SRCS}")
  ADD_LIBRARY (vtk4307VolumeRenderingPythonD ${VolumeRenderingPython_SRCS})
  ADD_LIBRARY (vtk4307VolumeRenderingPython MODULE
  vtk4307VolumeRenderingPythonInit.cxx)
  TARGET_LINK_LIBRARIES (vtk4307VolumeRenderingPython vtk4307VolumeRenderingPythonD)
  TARGET_LINK_LIBRARIES (vtk4307VolumeRenderingPythonD
			             vtkRenderingPythonD
                         vtkVolumeRenderingPythonD 
                         vtk4307VolumeRendering)
  # Python extension modules on Windows must have the extension ".pyd"
  # instead of ".dll" as of Python 2.5.  Older python versions do support
  # this suffix.
  IF(WIN32 AND NOT CYGWIN)
    SET_TARGET_PROPERTIES(vtk4307VolumeRenderingPython PROPERTIES SUFFIX ".pyd")
  ENDIF(WIN32 AND NOT CYGWIN)
ENDIF (VTK_WRAP_PYTHON AND VTK4307_WRAP_PYTHON)

# Create the vtk4307VolumeRendering Java library.
IF (VTK_WRAP_JAVA AND VTK4307_WRAP_JAVA)
  VTK_WRAP_JAVA3 (vtk4307VolumeRenderingJava ImagingJava_SRCS "${VolumeRendering_SRCS}")
  ADD_LIBRARY (vtk4307VolumeRenderingJava SHARED ${VolumeRenderingava_SRCS})
  TARGET_LINK_LIBRARIES (vtk4307VolumeRenderingJava vtk4307VolumeRendering)
ENDIF (VTK_WRAP_JAVA AND VTK4307_WRAP_JAVA)
